﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace DiscoveryLogic.Workflows.Monitor.Avalon.PatientHelper
{
    public class VideoAnnotationData : INotifyPropertyChanged
    {
        public event PropertyChangedEventHandler PropertyChanged;

        public VideoAnnotationData()
        {
            _VideoAnnotationItems = new VideoAnnotationItemCollection();
        }

        #region Properties

        public string Name
        {
            get { return _Name; }
            set
            {
                _Name = value;
                NotifyPropertyChanged("Name");
            }
        }

        public VideoAnnotationItemCollection VideoAnnotationItems
        {
            get { return _VideoAnnotationItems; }
        }
        #endregion

        private void NotifyPropertyChanged(string propName)
        {
            if (PropertyChanged != null)
            {
                PropertyChanged(this, new PropertyChangedEventArgs(propName));
            }
        }

        private string _Name;
        private VideoAnnotationItemCollection _VideoAnnotationItems;
    }
}
